<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<script src="jquery.js" type="text/javascript" charset="utf-8"></script>
	<body>
		<ul>
			<li>html</li>
			<li>css</li>
			<li>js</li>
			<li>jquery</li>
			<li>vue</li>
		</ul>
	</body>
	<script type="text/javascript">
		$(function(){
			$("ul li:nth-child(odd)").css("background-color","red")
			$("ul li:nth-child(even)").css("background-color","pink")
		})
	</script>
</html>
